package org.example.reflection;

/**
 * @version: 1
 * @description: java
 * @author: java
 * @create: 2020-06-04 18:22
 **/
@AnnoDemo(value = {666, 888}, name = "zs")
public class Admin extends User implements PersonObj, PersonObj2 {
    public String username;
    private String password;
    public int age;

    public Admin() {
    }

    public Admin(String username, String password, int age) {
        this.username = username;
        this.password = password;
        this.age = age;
    }

    private Admin(String username, String password) {
        this.username = username;
        this.password = password;
    }

    public void show() {
        System.out.println("干什么？？？");
    }

    private void show2() {
        System.out.println("show2？？？");
    }

    @Override
    public String toString() {
        return "Admin{" +
                "username='" + username + '\'' +
                ", password='" + password + '\'' +
                ", age=" + age +
                '}';
    }
}

